/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-08-21 11:11:03
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2024-08-21 11:34:16
 * @FilePath: /vue3-uniapp/src/api/orderCase.ts
 */
import { un } from '@uni-helper/uni-network';
import type { OrderDetail } from '@/typings/api/orderCase';

export const readOrderDetail = (orderId: number) =>
    un
        .get<
            HttpResult<OrderDetail>
        >(`/mini/api/orderCase/getOrderCase/${orderId}`)
        .then((res) => res.data);
